import request from '@/utils/request'

// 创建文档
export function createOfficeFile(data) {
  return request({
    url: '/system/office/createofficefile',
    method: 'post',
    data: data
  })
}
// 编辑文档
export function editOfficeFile(data) {
  return request({
    url: '/system/office/editofficefile',
    method: 'post',
    data: data
  })
}
// 查看文档
export function previewOfficeFile(data) {
  return request({
    url: '/system/office/previewofficefile',
    method: 'post',
    data: data
  })
}
